package com.casicloud.manage.service;

import java.util.List;

import com.casicloud.manage.model.Role;
import com.common.sub.util.PageUtil;
import com.github.pagehelper.PageInfo;

public interface RoleService {
	
	List<Role> findByList(Role role);
	
	PageInfo<Role> findByPage(PageUtil pageUtil ,Role role);
	
	Role findByOne(Role role);
	
	void save(Role role);
	
	void save(Role role,Integer ...authorityIds);
	
	int update(Role role);
	
	int delete(Role role);

}
